$(function(){
	ownerSelector("depts");
	
	$("#saveBtn").bind("click",function(){
		var data = $("form#beanform").serialize();
		doSubmit("equipment/equipment!create",data,function(){
			var form = $("form#beanform").get(0);
			form.reset();
		});
	});
});